package cn.iocoder.yudao.module.trade.controller.admin.orderpostback.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 订单回传 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderPostBackRespVO {

    @Schema(description = "主键自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "10467")
    @ExcelProperty("主键自增")
    private Long id;

    @Schema(description = "订单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13479")
    @ExcelProperty("订单id")
    private Long orderId;

    @Schema(description = "订单类型（1-支付；2-退款）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("订单类型（1-支付；2-退款）")
    private Integer orderType;

    @Schema(description = "第三方id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26588")
    @ExcelProperty("第三方id")
    private String thirdId;

    @Schema(description = "第三方类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("第三方类型")
    private Integer thirdType;

    @Schema(description = "支付金额（总），单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "20021")
    @ExcelProperty("支付金额（总），单位：分")
    private Integer payPrice;

    @Schema(description = "回传金额（总），单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "30907")
    @ExcelProperty("回传金额（总），单位：分")
    private Integer postPrice;

    @Schema(description = "状态(-1：失败；0：待回传；1-已完成；2-扣量)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态(-1：失败；0：待回传；1-已完成；2-扣量)")
    private Integer status;

    @Schema(description = "回传时间")
    @ExcelProperty("回传时间")
    private LocalDateTime postTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}